import request from '@/utils/request'
import fileRequest from '@/utils/fileRequest';

/**
 * @description 编辑中介
 * @returns {*}
 */
export function editIntermediaryApi(data){
  return request({
    url: '/editIntermediary',
    method: 'POST',
    data
  })
}
/**
 * 列表
 * @param params
 * @returns {*}
 */
export function getIntermediaryListApi(params) {
  return request({
    url: '/getIntermediaryList',
    method: 'GET',
    params
  })
}
/**
 * 详情
 * @param params
 * @returns {*}
 */
export function getIntermediaryByIdApi(params) {
  return request({
    url: '/getIntermediaryById',
    method: 'GET',
    params
  })
}





